'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const { router, controller, config: { apiPrefix } } = app;
    router.get('/', controller.default.home.index);
    require('./routers/admin/index')(app)
    require('./routers/api/v1')(app)
};